package com.farm.file.dao;

import com.farm.file.domain.Visit;
import org.hibernate.Session;
import com.farm.core.sql.query.DBRule;
import com.farm.core.sql.query.DataQuery;
import com.farm.core.sql.result.DataResult;
import java.util.List;
import java.util.Map;



public interface VisitDaoInter  {
 
 public void deleteEntity(Visit filevisit) ;
 
 public Visit getEntity(String filevisitid) ;
 
 public  Visit insertEntity(Visit filevisit);
 
 public int getAllListNum();
 
 public void editEntity(Visit filevisit);
 
 public Session getSession();
 
 public DataResult runSqlQuery(DataQuery query);
 
 public void deleteEntitys(List<DBRule> rules);

 
 public List<Visit> selectEntitys(List<DBRule> rules);

 
 public void updataEntitys(Map<String, Object> values, List<DBRule> rules);
 
 public int countEntitys(List<DBRule> rules);
}